﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace QldtSdh.DAL.Models
{
    public partial class HocPhan
    {
        //public string MaTenHocPhan { get { return MaHocPhan + "-" + TenHocPhan; } }
        //[NotMapped]
        //public bool IsSelected { get; set; }
        //[NotMapped]
        //public bool IsBatBuoc { get; set; }
        //[NotMapped]
        //public string TinhTrang { get; set; }
        
        public string Description
        {
            get
            {
                return string.Format("[{0}] - {1} ({2}TC)",
                    MaHocPhan, TenHocPhan, SoTinChi);
            }
        }
    }
}
